#ifndef PLAYERMAINPAGE_H
#define PLAYERMAINPAGE_H

#include <QWidget>
#include <QGraphicsDropShadowEffect>
#include <QMouseEvent>
#include <QPoint>
#include <QList>
#include <QDebug>

QT_BEGIN_NAMESPACE
namespace Ui {
class PlayerMainPage;
}
QT_END_NAMESPACE

class PlayerMainPage : public QWidget
{
    Q_OBJECT

public:
    PlayerMainPage(QWidget *parent = nullptr);
    ~PlayerMainPage();
    void onSwitchPage(int page_id);
    void resetPageStyle(int page_id);
    void switchBtnStyle(int page_id);
private slots:
private:
    void init();
    void initClickEvent();
    void mousePressEvent(QMouseEvent* event);
    void mouseMoveEvent(QMouseEvent* event);
private:
    Ui::PlayerMainPage *ui;
    QPoint mousePosition;
};
#endif // PLAYERMAINPAGE_H
